<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>小米模块布局</title>
    <style>
      .box_1{
        display: flex;
        width: 1226px;
        height: 614px;
      }
      .box_2{
        display: block;
        width: 234px;
        height: 614px;
        background: #800080;
        margin-right: 14px;
      }
      .box_3{
        display: flex;
        flex-wrap: wrap;
        width: 978px;
        height: 614px;
        /* 设置水平方向上的间隙 */
        justify-content: space-between;
        /* 设置垂直方向上的间隙 */
        align-content: space-between;
      }
      .box_31{
        width: 234px;
        height: 300px;
        background: #87ceeb;
      }
    </style>
  </head>
  <body>
    <div class="box_1">
      <div class="box_2">
        <div class="box_21"></div>
      </div>
      <div class="box_3">
        <div class="box_31"></div>
        <div class="box_31"></div>
        <div class="box_31"></div>
        <div class="box_31"></div>
        <div class="box_31"></div>
        <div class="box_31"></div>
        <div class="box_31"></div>
        <div class="box_31"></div>
      </div>
    </div>
  </body>
</html>
